<?php $this->placeholder('onReady')->captureStart() ?>
	$("#<?php echo $this->id_tablesorter?>").tablesorter(); 
<?php $this->placeholder('onReady')->captureEnd() ?>


<div class="contenedor_tablesorter">

<?=$this->msgPost?>
<?php echo $this->insertarFila($this->controllerName,$this->idZona,null,'Añadir Proyecto MMR');?>

<?if($this->rows):?>
<table id="<?= $this->id_tablesorter?>" width="100%" class=""> 
    <?=$this->partial('snnipet/caption.phtml',array('c'=>count($this->rows)))?>
    
    <thead>
    <tr>
        <th><?php echo $this->translate('PEP');?></th>
        <th><?php echo $this->translate('Proyecto');?></th>
        <th><?php echo $this->translate('Cliente');?></th>
        <th><?php echo $this->translate('Jefe de Proyecto');?></th>
        <th><?php echo $this->translate('Adendum firmado');?></th>
        <th><?php echo $this->translate('Tramo');?></th>
        <th><?php echo $this->translate('Posiciones');?></th>
        <th><?php echo $this->translate('Posiciones Libres');?></th>
        <th><?php echo $this->translate('Intervenciones');?></th>
        <th class="filter-false"></th>
    </tr>
    </thead>
    <tbody>
        <?php echo $this->partialLoop($this->controllerName.'/fila.phtml', (array)$this->rows); ?>	
    </tbody>
</table>
<?endif?>
</div>